package com.ruoyi.gas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全事件对象 gas_event
 *
 * @author ruoyi
 * @date 2023-12-11
 */
public class GasEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 事件产生时间戳 */
    @Excel(name = "事件产生时间戳")
    private String eventTime;

    /** 事件类型（字典值） */
    @Excel(name = "事件类型", readConverterExp = "字=典值")
    private Long eventCode;

    /**
     * 消除状态（0未消除，1已分配，2已消除）
     */
    private Integer status;

    /**
     * 事件名称
     */
    private String eventName;

    private Long fileId;

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEventTime(String eventTime)
    {
        this.eventTime = eventTime;
    }

    public String getEventTime()
    {
        return eventTime;
    }
    public void setEventCode(Long eventCode)
    {
        this.eventCode = eventCode;
    }

    public Long getEventCode()
    {
        return eventCode;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eventTime", getEventTime())
            .append("eventCode", getEventCode())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("eventName", getEventName())
            .toString();
    }
}
